package br.com.logistica.databaseinterface ;

import br.com.logistica.base.BaseException ;
import br.com.logistica.util.dto.ServiceDTO ;


public interface IGenericDAO
{
    ServiceDTO retrieve          ( )                       throws BaseException ;
    ServiceDTO retrieve          ( ServiceDTO serviceDTO ) throws BaseException ;
    ServiceDTO restrictedRetrieve( ServiceDTO serviceDTO ) throws BaseException ;
    ServiceDTO create            ( ServiceDTO serviceDTO ) throws BaseException ;
    ServiceDTO update            ( ServiceDTO serviceDTO ) throws BaseException ;
    ServiceDTO delete            ( ServiceDTO serviceDTO ) throws BaseException ;
}
